package com.boxin.ims.modules.bi.entity;


public class Series {
	private String name;
	private Object data;
	private String type;//图标的类型       area面积图    areaspline曲线面积图     bar条形图     column柱状图    line直线图      pie饼图    scatter散点图    spline曲线图
	private Tooltip tooltip;
	private String pointInterval;
	private String pointStart;
	
	public Series() {
		this.pointInterval="24 * 3600 * 1000";
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Tooltip getTooltip() {
		return tooltip;
	}
	public void setTooltip(Tooltip tooltip) {
		this.tooltip = tooltip;
	}

	public String getPointInterval() {
		return pointInterval;
	}

	public void setPointInterval(String pointInterval) {
		this.pointInterval = pointInterval;
	}

	public String getPointStart() {
		return pointStart;
	}

	public void setPointStart(String year,String month) {
		this.pointStart = "Date.UTC("+year+", "+month+", 1)";
	}
	
	public void setPointStartByDay(String year,String month,String day) {
		this.pointStart = "Date.UTC("+year+", "+month+", "+day+")";
	}
	
	
	
}
